import request from '@/sheep/request';

export default {
  // 品牌首付
  issueList: (data) =>
    request({
      url: 'collection.goods/issueList',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),
  // 品牌方列表
  collectionBrand: (data) =>
    request({
      url: 'collection.brand',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),
  // 品牌孵化
  goodsIssueList: (data) =>
    request({
      url: 'collection.goods/issueList',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),
  // 品牌孵化详情
  goodsDetail: (data) =>
    request({
      url: 'collection.goods/issueList',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),  // 品牌孵化
  incubationList: (data) =>
    request({
      url: 'collection.goods/incubationList',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),
  // 市场
  marketList: (data) =>
    request({
      url: 'collection.goods/marketList',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: false,
      },
    }),
  // 创建合伙人订单
  buyPartner: (data) =>
    request({
      url: 'trade.order/buyPartner',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: true,
      },
    }),
  // 购买合伙人信息
  buyPartnerInfo: (data) =>
    request({
      url: 'trade.order/buyPartnerInfo',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: true,
      },
    }),
  // 获取藏品系列
  allSeries: (data) =>
    request({
      url: 'collection.goods/allSeries',
      method: 'GET',
      params: data,
      custom: {
        showError: true,
        showLoading: true,
      },
    }),

};
